/*
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved.
 */
package com.icinfo.cloud.provider.punish.csreason.service;

import com.icinfo.cloud.common.core.page.PageResponse;
import com.icinfo.cloud.provider.punish.csreason.dto.CaseReasonAddParam;
import com.icinfo.cloud.provider.punish.csreason.dto.CaseReasonPageRequest;
import com.icinfo.cloud.provider.punish.csreason.dto.CaseReasonPageResponse;
import com.icinfo.cloud.provider.punish.csreason.dto.CaseReasonTree;
import com.icinfo.framework.common.web.Result;
import com.icinfo.framework.core.service.BaseService;

import java.util.List;

/**
 * 描述:  case_reason_manage 对应的Service接口.<br>
 *
 * @author framework generator
 * @date 2022年10月26日
 */
public interface ICaseReasonManageService extends BaseService {
    /**
     * 描述： 保存案由信息
     *
     * @author: yehuafei
     * @date: 2022/10/26
     * @param: dto
     * @return {@link Result < String>}
     **/
    Result<String> save(CaseReasonAddParam param);

    Result<PageResponse<CaseReasonPageResponse>> page(CaseReasonPageRequest request);

    CaseReasonPageResponse detail(String id);

    List<CaseReasonTree> getCaseReasonTree();
}
